package com.echartsdata.Entity;

import com.alibaba.fastjson2.annotation.JSONField;

/**
 * 2025-7-9
 * 就业率实体类
 */
public class Employment {
    //json数据格式化
    @JSONField(name = "name",ordinal = 1)
    private String name;
    @JSONField(name = "value",ordinal = 2)
    private  Integer sum;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    @Override
    public String toString() {
        return "Employment{" +
                "name='" + name + '\'' +
                ", sum=" + sum +
                '}';
    }
}
